Freescale Semiconductor /MK80F25615 /WDOG /STCTRLH

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as STCTRLH

15 1211 87 43 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0)WDOGEN 0 (0)CLKSRC 0 (0)IRQRSTEN 0 (0)WINEN 0 (0)ALLOWUPDATE 0 (0)DBGEN 0 (0)STOPEN 0 (0)WAITEN 0 (TESTWDOG)TESTWDOG 0 (0)TESTSEL 0 (00)BYTESEL 0 (0)DISTESTWDOG

ALLOWUPDATE=0, WINEN=0, IRQRSTEN=0, STOPEN=0, CLKSRC=0, BYTESEL=00, WAITEN=0, DBGEN=0, WDOGEN=0, DISTESTWDOG=0, TESTSEL=0

Description

Watchdog Status and Control Register High

Fields

WDOGEN

Enables or disables the WDOG’s operation

0 (0): WDOG is disabled.

1 (1): WDOG is enabled.

CLKSRC

Selects clock source for the WDOG timer and other internal timing operations.

0 (0): WDOG clock sourced from LPO .

1 (1): WDOG clock sourced from alternate clock source.

IRQRSTEN

Used to enable the debug breadcrumbs feature

0 (0): WDOG time-out generates reset only.

1 (1): WDOG time-out initially generates an interrupt. After WCT, it generates a reset.

WINEN

Enables Windowing mode.

0 (0): Windowing mode is disabled.

1 (1): Windowing mode is enabled.

ALLOWUPDATE

Enables updates to watchdog write-once registers, after the reset-triggered initial configuration window (WCT) closes, through unlock sequence

0 (0): No further updates allowed to WDOG write-once registers.

1 (1): WDOG write-once registers can be unlocked for updating.

DBGEN

Enables or disables WDOG in Debug mode.

0 (0): WDOG is disabled in CPU Debug mode.

1 (1): WDOG is enabled in CPU Debug mode.

STOPEN

Enables or disables WDOG in Stop mode.

0 (0): WDOG is disabled in CPU Stop mode.

1 (1): WDOG is enabled in CPU Stop mode.

WAITEN

Enables or disables WDOG in Wait mode.

0 (0): WDOG is disabled in CPU Wait mode.

1 (1): WDOG is enabled in CPU Wait mode.

TESTWDOG

Puts the watchdog in the functional test mode

TESTSEL

Effective only if TESTWDOG is set. Selects the test to be run on the watchdog timer.

0 (0): Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test.

1 (1): Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.

BYTESEL

This 2-bit field selects the byte to be tested when the watchdog is in the byte test mode.

0 (00): Byte 0 selected

1 (01): Byte 1 selected

2 (10): Byte 2 selected

3 (11): Byte 3 selected

DISTESTWDOG

Allows the WDOG’s functional test mode to be disabled permanently

0 (0): WDOG functional test mode is not disabled.

1 (1): WDOG functional test mode is disabled permanently until reset.

Links

() ()